package com.sxy.demo.sxy;


import java.util.List;

public class User {

    private Long userId;

    /**
     * @see User#userId 取最新一条
     */
    private ActivityRecallUserRecordDO newUserRecord;

    /**
     * @see User#userId 取最新一条
     */
    private List<ProductOrderInfoDO> productOrderInfos;

    /**
     * @see User#userId
     */
    private BrokerUserRole brokerUserRole;

    /**
     * @see User#userId
     */
    private DlCloudStoreVO dlCloudStore;

    /**
     *                 SELECT
     *                     s.id
     *                 FROM
     *                     shopping_cart s
     *                         LEFT JOIN rms_goods_public_spu p ON p.id = s.product_id
     *                 WHERE
     *                     s.create_user = #{userId}
     *                   AND s.state = 0
     *                   AND s.type = #{type}
     *                   AND s.cart_shopping_type = 1
     *                   AND ((( p.goods_type = 1 AND p.goods_spu_state=30) OR (p.goods_type = 2 AND p.goods_spu_state=20)) AND p.deleted=0)
     *                 GROUP BY
     *                     s.product_id,
     *                     s.product_specifications
     */
    private List<Integer> shotcartIds;

    /**
     * @see User#userId
     * @see PointEnum.PointType.WELFARE
     */
    private AssetPoints userPoint;
}
